<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>修改</title>
  <link rel="stylesheet" href="../../static/css/bootstrap.4.3.1.min.js.css" th:href="@{/css/bootstrap.4.3.1.min.js.css}"/>
  <style>
    li{
      list-style: none;
      margin: 15px;
    }
    .btn-block{
      width: 380px !important;
      margin: 0px 55px !important;
    }
  </style>
</head>
<body style="width:450px;height:100%;margin:100px 500px;">
<h3 style="text-align: center">修改请假</h3>
<form action="/updateVacation"  method="post">
  <ul>
    <li>
      <input class="form-control" name="id" type="text" th:value="${vacation.id}" readonly placeholder="ID">
    </li>
    <li>
      <input class="form-control" name="studentName" type="text" th:value="${vacation.studentName}" readonly placeholder="请输入姓名">
    </li>
    <li>
      <input class="form-control" name="content" type="text" th:value="${vacation.content}"  placeholder="请输入请假内容">
    </li>
    <li>
      <input class="form-control" name="type" type="text" th:value="${vacation.type}"  placeholder="请输入请假类型（事假/病假）">
    </li>
    <li>
      <input class="form-control" name="vacationDate" type="text" th:value="${vacation.vacationDate}"  placeholder="请输入请假时长">
    </li>
  </ul>
  <button class="btn btn-primary btn-lg btn-block">保存</button>
</form>
</body>
</html>